3.2.7 \(\int (a+a \cos (c+d x))^{3/2} \, dx\) [107]

Optimal. Leaf size=59 \[ \frac {8 a^2 \sin (c+d x)}{3 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{3 d} \]

[Out]

8/3*a^2*sin(d*x+c)/d/(a+a*cos(d*x+c))^(1/2)+2/3*a*sin(d*x+c)*(a+a*cos(d*x+c))^(1/2)/d

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2726, 2725} \begin {gather*} \frac {8 a^2 \sin (c+d x)}{3 d \sqrt {a \cos (c+d x)+a}}+\frac {2 a \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + a*Cos[c + d*x])^(3/2),x]

[Out]

(8*a^2*Sin[c + d*x])/(3*d*Sqrt[a + a*Cos[c + d*x]]) + (2*a*Sqrt[a + a*Cos[c + d*x]]*Sin[c + d*x])/(3*d)

Rule 2725

Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[-2*b*(Cos[c + d*x]/(d*Sqrt[a + b*Sin[c + d*x
]])), x] /; FreeQ[{a, b, c, d}, x] && EqQ[a^2 - b^2, 0]

Rule 2726

Int[((a_) + (b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d*x]*((a + b*Sin[c + d*x])^(n
- 1)/(d*n)), x] + Dist[a*((2*n - 1)/n), Int[(a + b*Sin[c + d*x])^(n - 1), x], x] /; FreeQ[{a, b, c, d}, x] &&
EqQ[a^2 - b^2, 0] && IGtQ[n - 1/2, 0]

Rubi steps

\begin {align*} \int (a+a \cos (c+d x))^{3/2} \, dx &=\frac {2 a \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{3 d}+\frac {1}{3} (4 a) \int \sqrt {a+a \cos (c+d x)} \, dx\\ &=\frac {8 a^2 \sin (c+d x)}{3 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{3 d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.07, size = 55, normalized size = 0.93 \begin {gather*} \frac {a \sqrt {a (1+\cos (c+d x))} \sec \left (\frac {1}{2} (c+d x)\right ) \left (9 \sin \left (\frac {1}{2} (c+d x)\right )+\sin \left (\frac {3}{2} (c+d x)\right )\right )}{3 d} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + a*Cos[c + d*x])^(3/2),x]

[Out]

(a*Sqrt[a*(1 + Cos[c + d*x])]*Sec[(c + d*x)/2]*(9*Sin[(c + d*x)/2] + Sin[(3*(c + d*x))/2]))/(3*d)

________________________________________________________________________________________

Maple [A]
time = 0.07, size = 58, normalized size = 0.98

method result size
default \(\frac {4 a^{2} \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )+2\right ) \sqrt {2}}{3 \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d}\) \(58\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+a*cos(d*x+c))^(3/2),x,method=_RETURNVERBOSE)

[Out]

4/3*a^2*cos(1/2*d*x+1/2*c)*sin(1/2*d*x+1/2*c)*(cos(1/2*d*x+1/2*c)^2+2)*2^(1/2)/(a*cos(1/2*d*x+1/2*c)^2)^(1/2)/
d

________________________________________________________________________________________

Maxima [A]
time = 0.55, size = 38, normalized size = 0.64 \begin {gather*} \frac {{\left (\sqrt {2} a \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 9 \, \sqrt {2} a \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{3 \, d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))^(3/2),x, algorithm="maxima")

[Out]

1/3*(sqrt(2)*a*sin(3/2*d*x + 3/2*c) + 9*sqrt(2)*a*sin(1/2*d*x + 1/2*c))*sqrt(a)/d

________________________________________________________________________________________

Fricas [A]
time = 0.38, size = 44, normalized size = 0.75 \begin {gather*} \frac {2 \, {\left (a \cos \left (d x + c\right ) + 5 \, a\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{3 \, {\left (d \cos \left (d x + c\right ) + d\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))^(3/2),x, algorithm="fricas")

[Out]

2/3*(a*cos(d*x + c) + 5*a)*sqrt(a*cos(d*x + c) + a)*sin(d*x + c)/(d*cos(d*x + c) + d)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \cos {\left (c + d x \right )} + a\right )^{\frac {3}{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))**(3/2),x)

[Out]

Integral((a*cos(c + d*x) + a)**(3/2), x)

________________________________________________________________________________________

Giac [A]
time = 0.43, size = 55, normalized size = 0.93 \begin {gather*} \frac {\sqrt {2} {\left (a \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 9 \, a \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{3 \, d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))^(3/2),x, algorithm="giac")

[Out]

1/3*sqrt(2)*(a*sgn(cos(1/2*d*x + 1/2*c))*sin(3/2*d*x + 3/2*c) + 9*a*sgn(cos(1/2*d*x + 1/2*c))*sin(1/2*d*x + 1/
2*c))*sqrt(a)/d

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int {\left (a+a\,\cos \left (c+d\,x\right )\right )}^{3/2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a*cos(c + d*x))^(3/2),x)

[Out]

int((a + a*cos(c + d*x))^(3/2), x)

________________________________________________________________________________________